package cloud.xiangyixiang.www.spring.boot.java.basics.enums;

/**
 * <p>
 * Week
 * </p>
 *
 * @author weixin
 * @date 2023/9/5 12:00
 */
public enum WeekEnum {

    SUNDAY(0,"星期日"),

    MONDAY(1,"星期一"),

    TUESDAY(2,"星期二"),

    WEDNESDAY(3,"星期三"),

    THURSDAY(4,"星期四"),

    FRIDAY(5,"星期五"),

    SATURDAY(6,"星期六");

    private int id;

    private String meaning;

    WeekEnum(int id,String meaning) {
        this.id = id;
        this.meaning = meaning;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMeaning() {
        return meaning;
    }

    public void setMeaning(String meaning) {
        this.meaning = meaning;
    }
}
